'use strict';

module.exports = function(_path) {
    return {
        context: _path,
        debug: true,
        devtool: 'source-map',
        devServer: {
          contentBase: './dist',
          info: true,
          hot: false,
          inline: true,
          proxy: {
            '/com.fable.platform/*': {
              // target: 'http://localhost:8080',
              // target: 'http://192.168.30.188:8082', // tangbb's tomcat
              // target: 'http://192.168.80.163:8080', // lics tomcat
              target: 'http://58.240.21.178:10080/', // company tomcat
              // target: 'http://192.168.30.168:8080', // company tomcat
              secure: false
            }
          },
        }
    }
};
